

<!--搜索条件-->
<div class="row">
    <form class="mt20" role="form">
        <div class="row">
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">开始时间</span>
                    <input def-laydate type="text" class="form-control" id="startTime"  ng-model="done.startTime" placeholder="" />
                </div>
            </div>
            <div class="col-lg-3 col-sm-3 col-md-3 col-xs-3">
                <div class="input-group">
                    <span class="input-group-addon">结束时间</span>
                    <input def-laydate type="text" class="form-control" id="endTime" ng-model="done.endTime" placeholder="">
                </div>
            </div>
            <div class="col-lg-4 col-sm-4 col-md-4 col-xs-4">
                <div class="row">
                    <div class="col-lg-4 col-sm-6 col-md-6 col-xs-6">
                        <div class="input-group">
                            <select class="form-control" ng-model="done.NewsType">
                                <option value="">类别</option>
                                <option value="1">经验交流</option>
                                <option value="2">防火信息</option>
                                <option value="3">通知通报</option>
                                <option value="4">专项行动</option>
                                <option value="5">队伍建设</option>
                                <option value="6">保险</option>
                                <option value="7">领导讲话</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-lg-6 col-sm-6 col-md-6 col-xs-6">
                        <div class="input-group">
                            <select class="form-control"
                                    ng-model="done.dept"
                                    ng-options="d.ID as d.DepName for d in deptList track by d.ID">
                                <option value="">所属单位</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-2 col-sm-2 col-md-2 col-xs-2">

                    <button class="btn btnCustom   pull-right" type="button" ng-click="search()"><i class="fa fa-search" style="margin-right:2px;"></i>搜索</button>

            </div>

        </div>

    </form>

</div>
<!--表格内容-->
<div class="row mt20">

    <div class="table-responsive">
        <table class="table table-bordered">
            <thead>
            <tr>
                <th><input type="checkbox" ng-model="selectAll" ng-click="selectAllClick(selectAll,smsData)"></th>
                <th>序号</th>
                <th>标题</th>
                <th>类别</th>
                <th>发布账号</th>
                <th>发布人</th>
                <th>所属单位</th>
                <th>发布时间</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="done in doneList | orderBy:'ID'">
                <th scope="row"><input type="checkbox" id="{{info.ID}}" ng-model="selected"  ng-checked="selectAll"  ng-click="chk(info.ID,selected)" ></th>
                <td>{{$index + 1}}</td>
                <td style="text-align: left;"><a ui-sref="info.view({ID:done.ID})" style="color:#333;">{{done.Title | cut:true:25:'...'}}</a></td>
                <td ng-bind-html="done.NewsType | infoNewsTypeFilter"></td>
                <td>{{done.PublishCode}}</td>
                <td>{{done.PublishPerson}}</td>
                <td>{{done.DepName}}</td>
                <td>{{done.PublishDate | date:'yyyy-MM-dd'}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<!--分页与操作信息-->
<div class="row">
    <div class="col-lg-1 col-sm-2 col-md-1 col-xs-2">
        <div class="row">
            <button class="btn btnCustom" ng-click="deleteSelect()"><i class="icon-trash icon-large mr2"></i>删除选中</button>
        </div>
    </div>
    <div class="col-lg-7 col-sm-6 col-md-6 col-xs-4">
        <p style="margin-top:6px;">共计 [ <b class="red">{{totalItems}}</b> ] 条记录</p>
    </div>
    <div class="col-lg-4 col-sm-6 col-md-4 col-xs-6">
        <div class="row">
            <div ng-show="totalItems > rows">

                <uib-pagination class="pagination PagingCustom pull-right"
                                items-per-page="rows"
                                ng-model="currentPage"
                                total-items="totalItems"
                                max-size="5"
                                ng-change="pageChanged()"
                                boundary-links="false"
                                boundary-link-numbers="true"
                                rotate="false"
                                force-ellipses="true"
                                previous-text="‹"
                                next-text="›">
                </uib-pagination>

            </div>
        </div>
    </div>
</div>